package com.briup.oagg.model.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.execption.DataValidateFailedException;
import com.briup.framework.utils.web.ResponseCode;
import com.briup.oagg.model.bean.basic.ClassificationTrainResult;
import com.briup.oagg.model.bean.op.TaskResult;
import com.briup.oagg.model.mapper.basic.ClassificationTrainResultMapper;
import com.briup.oagg.model.service.IClassificationTrainResultService;
import com.briup.oagg.model.service.IModelTrainConfigService;
import com.briup.oagg.model.web.vm.ClassificationTrainResultVM;
import com.briup.oagg.model.web.vm.ModelTrainConfigVM;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

/**
 * 分类训练评估结果业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class ClassificationTrainResultServiceImpl extends ServiceImpl<ClassificationTrainResultMapper, ClassificationTrainResult> implements IClassificationTrainResultService {
    @Override
    public ClassificationTrainResultVM findByTrainId(String trainId) {
        return null;
    }

    @Override
    public void addTrainResult(TaskResult result) {

    }

    @Override
    public List<ClassificationTrainResultVM> findByModelId(String modelId) {
        return null;
    }
}
